package com.qf.commerce.service;

import com.github.pagehelper.PageInfo;
import com.qf.commerce.common.dto.FunctionDto;
import com.qf.commerce.common.vo.FunctionVo;
import com.qf.commerce.entity.Function;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface FunctionService {
    int insertFunction(FunctionDto functionDto);
    int deleteFunction(List<Long> ids);
    int updateFunction(Function function,Long functionId);

    Function selectFunctionDetail(Long functionId);

    PageInfo<FunctionVo> selectFunction(Integer status,String functionName,String functionCoding,Integer page, Integer size);

    PageInfo<FunctionVo> selectFunctionByTime(String startCreateTime, String endCreateTime,Integer page, Integer size);

}
